/**
 * 
 */
package connect;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import io.netty.channel.Channel;

/**
 * @Description:  
 * @version: v1.0.0
 * @author: wbl
 * @date: 2019年8月30日 上午11:13:13
 */
public class ConfigDesign {
	
	public static final int BIZGROUPSIZE = Runtime.getRuntime().availableProcessors();
	public static final int BIZTHREADSIZE = 4;
	public static final int CACHESIZE = 1024;
	
	
	public static Map <String,Channel> CLIENT_IP_CONNECT = new HashMap<String,Channel>();//ip : channel
	public static Map <String,Channel> Server_IP_CONNECT = new HashMap<String,Channel>();//id : channel
	public static int MASTER_INDEX = 0;
	//统计每个ip通信的流量，上下行都写在这，统计物联网卡的流量
	public static Map <String,String> FLOW_COUNT = new HashMap<String,String>();//ip : flow
//	ip黑名单监控
	public static List<String> BLACKLIST = new ArrayList<String>();

	

}
